package com.tengfei.main.plan.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tengfei.common.core.mapper.BaseMapperPlus;
import com.tengfei.main.plan.domain.UsersCourse;
import com.tengfei.main.plan.domain.vo.UserPlanProgressVo;
import com.tengfei.main.system.domain.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户课程Mapper接口
 *
 * @author tengfei
 * @date 2022-08-01
 */
public interface UserCoursesMapper extends BaseMapperPlus<UserCoursesMapper, UsersCourse, UserPlanProgressVo> {

    Page<UserPlanProgressVo> selectPlanUsers(@Param("page") Page<UserPlanProgressVo> build, @Param(Constants.WRAPPER) Wrapper<SysUser> buildQueryWrapperUser);

    List<UserPlanProgressVo> selectPlanUsers2Export(@Param(Constants.WRAPPER) Wrapper<SysUser> buildQueryWrapperUser);
}
